package com.md;

public class student {
    private  int stuId;
    private  String stuName;
    public  void stuName(){
        System.out.println(this.stuName+"这是你的名字");
    }

    public student(int stuId, String stuName) {
        this.stuId = stuId;
        this.stuName = stuName;
    }

    public student() {
    }

    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    @Override
    public String toString() {
        return "student{" +
                "stuId=" + stuId +
                ", stuName='" + stuName + '\'' +
                '}';
    }
}
